package com.tjetc.dao;

import com.tjetc.entity.MonthlyAmount;

import java.time.LocalDateTime;
import java.util.List;

public interface MonthlyAmountMapper {
    public Integer insertMonthlyAmount(MonthlyAmount monthlyAmount);

    public MonthlyAmount selectByAmountId(Integer id);

    public MonthlyAmount selectByTime(LocalDateTime time);

    public Integer deleteByTime(LocalDateTime time);

    public Integer deleteByTimeAndId(Integer id, LocalDateTime time);

    public List<MonthlyAmount> selectByTimeAndId(Integer id, LocalDateTime time);
}
